package request1_i2p;
import java.util.Observable;

public class COrderPublisher extends Observable {
    public Consumer getConsumer() {
        return consumer;
    }

    public void setConsumer(Consumer consumer) {
        this.consumer = consumer;
    }

    public Consumer consumer;

    public COrderPublisher(Consumer consumer){
            this.consumer=consumer;
        }
        public void dispatch(COrderEvent cOrderEvent){
            setChanged();
            notifyObservers(cOrderEvent);
        }


    }
